package com.cl.crm.biz.impl;

import java.util.List;

import com.cl.crm.biz.ibiz.IProductsInfoBiz;
import com.cl.crm.entity.ProductsInfo;
import com.cl.crm.myutil.Page;
import com.cl.crm.pers.dao.IProductsInfoDao;

public class ProductsInfoBizImpl implements IProductsInfoBiz {
	private IProductsInfoDao productsDao;
	public void setProductsDao(IProductsInfoDao productsDao) {
		this.productsDao = productsDao;
	}
	public List<ProductsInfo> getProducts(String name, String productsModeNum,
			String productsBatch, Page page) {
		return productsDao.selectProducts(name, productsModeNum, productsBatch, page);
	}
	public int getProductsNum(String name, String productsModeNum,
			String productsBatch) {
		return productsDao.selectProductsNum(name, productsModeNum, productsBatch);
	}

}
